home *** CD-ROM | disk | FTP | other *** search
-
- #
- # This makefile is intended for use for the Microsoft C Compiler,
- # version 6.0.
- #
- # You should have previously set LIB and INCLUDE environment variables
- # referencing your C compiler subdirectories. Consult your compiler
- # documentation for instructions on defining these variables.
- #
- # You must modify your LIB and INCLUDE environment variables to reference
- # the directory containing the Networking Services/DOS library files.
- # For example:
- # SET LIB=C:\NSD\LIB;%LIB%
- # SET INCLUDE=C:\NSD\INCLUDE;%INCLUDE%
- #
- # Compiler Switches:
- # -c = Compile only, no link
- # -AL = Using the Large memory model.
- # -Lc = create a DOS mode executable file
- # -F = Stacksize in bytes
- # -Gs = Remove stack probes - Use only on fully debugged program.
- # -Ox = Maximum optimization
- # -Zl = Suppress default library selection.
- # -Zp = Pack structure members - OS/2 API calls expect packed structures.
- # -Ze = Enable special keywords.
- # -W4 = Maximum warning level
-
-
- C_OPTIONS = -Lc -F 2000 -AL -Gs -Ox -W4 -Zelp -DDOS
- LIBLIST = cpicnsdr.lib cpicerr.OBJ cpicinit.OBJ getopt.obj cpicport.obj
- C_ONLY_OPTIONS = -c -Lc -AL -Gs -Ox -W4 -Zelp -DDOS
-
- MAP = nul
- LINK_OPTIONS = /EXEPACK
-
- aping: aping.exe apingd.exe
-
- aping.EXE: aping.dos aping.C \
- cpicerr.OBJ cpicinit.OBJ cpicport.OBJ getopt.obj cpicerr.h cpicinit.h cpicport.h
- CL $(C_OPTIONS) $*.C $(LIBLIST)
-
- apingd.EXE: aping.dos apingd.C cpicerr.OBJ cpicinit.OBJ cpicport.OBJ getopt.obj
- CL $(C_OPTIONS) $*.C $(LIBLIST)
-
- cpicerr.OBJ: aping.dos cpicerr.C cpicerr.h
- CL $(C_ONLY_OPTIONS) $*.C
-
- cpicinit.OBJ: aping.dos cpicinit.C cpicinit.h
- CL $(C_ONLY_OPTIONS) $*.C
-
- cpicport.OBJ: aping.dos cpicport.C cpicport.h
- CL $(C_ONLY_OPTIONS) $*.C
-
- getopt.OBJ: aping.dos getopt.C getopt.h
- CL $(C_ONLY_OPTIONS) $*.C
-
-